Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |as_ipv6

net/ip::|as_ipv6


Usage

|as_ipv6(ip)

Parameters

↳ ip: Ip (net/ip::Ip)

Return

Option<Ipv6>


Extract the Ipv6 address from a generic Ip, or none if it is an IPv4 address.